package com.sh.weblogspringboot.admin.service;

import com.sh.weblogspringboot.admin.vo.article.DeleteArticleReqVO;
import com.sh.weblogspringboot.admin.vo.article.FindArticleDetailReqVO;
import com.sh.weblogspringboot.admin.vo.article.FindArticlePageListReqVO;
import com.sh.weblogspringboot.admin.vo.article.PublishArticleReqVO;
import com.sh.weblogspringboot.admin.vo.article.UpdateArticleReqVO;
import com.sh.weblogspringboot.common.util.Response;

/**
 * @author songHai
 * @Classname AdminArticleService
 * @Description
 * @Date 2025/4/8 23:10
 */
public interface AdminArticleService {

    /**
     * 发布文章.
     *
     * @param publishArticleReqVO
     * @return
     */
    Response publishArticle(PublishArticleReqVO publishArticleReqVO);

    /**
     * 删除文章.
     *
     * @param deleteArticleReqVO
     * @return
     */
    Response deleteArticle(DeleteArticleReqVO deleteArticleReqVO);

    /**
     * 查询文章分页数据
     *
     * @param findArticlePageListReqVO
     * @return
     */
    Response findArticlePageList(FindArticlePageListReqVO findArticlePageListReqVO);

    /**
     * 查询文章详情
     *
     * @param findArticleDetailReqVO
     * @return
     */
    Response findArticleDetail(FindArticleDetailReqVO findArticleDetailReqVO);

    /**
     * 更新文章
     *
     * @param updateArticleReqVO
     * @return
     */
    Response updateArticle(UpdateArticleReqVO updateArticleReqVO);
}
